<template>
  <div id="app">
     <router-view />
  </div>
</template>
<script>
import AES from "@/utils/aes.js";
export default {
  data() {
    return {
      aesstr: "我是测试002",
      aeskey: "",
      aesMstr: "",
      aesJstr: "",
    };
  },
  created(){

  },

  mounted() {
    // console.log(this.aeskey);
  },
  methods: {
    jjjj() {
      this.aeskey = AES.generatekey(16);
      this.aesMstr = AES.encrypt(this.aesstr, this.aeskey);
      this.aesJstr = AES.decrypt(this.aesMstr, this.aeskey);
      // console.log(this.aeskey);
      console.log(this.aesstr);
      console.log(this.aesMstr + "加密");
      console.log(this.aesJstr + "解密");
      console.log(process.env.NODE_ENV) 
      console.log(process.env.VUE_APP_URL) 
    },
  },
};
</script>
<style lang="less">
</style>
